module.exports = {
  lintOnSave: true,
  devServer: {
    // host: '0.0.0.0',
    proxy: {
      // proxy all requests starting with /api to jsonplaceholder
      '/InspectionGuidance': {
        // target: 'http://192.168.1.4:9931', // 代理接口
        target: 'http://111.160.78.62:9931', // 代理接口
        changeOrigin: true,
        pathRewrite: {
          '^/InspectionGuidance': '/api/InspectionGuidance' // 代理的路径
        }
      }
    }
  },
  publicPath: './'
}
